package cn.micro.system.manage.service;

import cn.micro.system.manage.entity.SysDimProfession;
import cn.micro.system.manage.entity.dto.SysDimProfessionSearch;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 职务表 服务类
 * </p>
 *
 * @author wr
 * @since 2023-12-29
 */
public interface SysDimProfessionService extends IService<SysDimProfession> {

    List<SysDimProfession> getByCodeOrName(SysDimProfession sysDimProfession);

    List<SysDimProfession> listByPage(int page, int size, SysDimProfessionSearch search);

}
